gtk: Parse keypad numbers correctly
authorBastien Nocera <hadess@hadess.net>
Wed, 16 Nov 2011 18:47:39 +0000 (18:47 +0000)
committerBastien Nocera <hadess@hadess.net>
Wed, 16 Nov 2011 18:47:39 +0000 (18:47 +0000)
commitde47b90fd10ac494fda16af4c723ed2d5f6be946
tree091de03c5eec4201797f4e890606001cb88d3e94
parentef5476f16aeaf817f4fbc291807d336ebdc0db9e
gtk: Parse keypad numbers correctly

Try to find keycodes for keysyms at level-0 in the keymap, but don't
fail to parse if we can find those in level-1. This fixes the
parsing of numerical keys on the keypad, which require a shift level
through Num-Lock.

https://bugzilla.gnome.org/show_bug.cgi?id=606727
gtk/gtkaccelgroup.c